/*
 * @Author: heinan
 * @Date: 2023-07-27 20:58:53
 * @Last Modified by: heinan
 * @Last Modified time: 2023-07-27 20:59:42
 */
const express = require("express");
const router = express.Router();
const openAIController = require("./controller/openAIController");

router.route("/text").post(openAIController.openAIText);
router.route("/image").post(openAIController.openAIImage);

module.exports = router;
